import { configureStore } from "@reduxjs/toolkit"
//导入子模块reducer
import counterStore from './modules/counterStore'
import channelStore from './modules/channelStore'

const store = configureStore({
    reducer: {
        counter: counterStore,
        channel: channelStore
    }
})

export default store